package com.jdzy.model.student.pojos;


import com.baomidou.mybatisplus.annotation.EnumValue;

public enum PlanType {
    SHORT_TERM(0, "短期计划", "daily"),
    MID_TERM(1, "中期计划", "bimonthly"),
    LONG_TERM(2, "长期计划", "semester");
    @EnumValue
    private final int code;
    private final String name;
    private final String description;

    // 构造方法
    PlanType(int code, String name, String description) {
        this.code = code;
        this.name = name;
        this.description = description;
    }

    // 获取code的getter方法
    public int getCode() {
        return code;
    }

    // 获取name的getter方法
    public String getName() {
        return name;
    }

    // 获取description的getter方法
    public String getDescription() {
        return description;
    }


}
